<div class="weui-footer">
  
  <p class="weui-footer__text">Copyright ©<?php echo date("Y")?>博教通 运维管理平台</p>
</div>
<div class="clear"></div>
<!--底部菜单-->

<?php

if(@$_SESSION['level']){
	if($_SESSION['level']<4){
			$meurl="manage.php";
			$orderurl="morder.php";
		}else{
			$meurl="member.php";
			$orderurl="order.php";
	}
}else{
	$meurl="member.php";
	$orderurl="order.php";
}

?>

<div class="weui-tabbar"> <a href="index.php" class="weui-tabbar__item weui-bar__item--on">

  <div class="weui-tabbar__icon"> <img src="images/baoxiu3.png" alt=""> </div>

  <p class="weui-tabbar__label">服务支撑</p>

  </a> <a href="school.php" class="weui-tabbar__item">

  <div class="weui-tabbar__icon"> <img src="images/zhishiku3.png" alt=""> </div>

  <p class="weui-tabbar__label">知识库</p>

  </a> <a href="<?php echo $orderurl;?>" class="weui-tabbar__item">

  <div class="weui-tabbar__icon"> <img src="images/gongdan3.png" alt=""> </div>

  <p class="weui-tabbar__label">工单</p>

  </a> <a href="<?php echo $meurl;?>" class="weui-tabbar__item">

  <div class="weui-tabbar__icon"> <img src="images/my3.png" alt=""> </div>

  <p class="weui-tabbar__label">我的</p>

  </a> </div>

</div>
<script>
window.onresize = function () {
 var h = $(window).height();
 //console.log(h+','+window.screen.availHeight)
 var u = navigator.userAgent;
 if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) {
 if(h <= window.screen.availHeight/2){
 $(".weui-tabbar").css({'position':'absoult',"margin-top":"-.5rem",'display':'none'});
 }else{
  $(".weui-tabbar").css({'position':'fixed'});
 }
 }
}
$('input').on('focus',function(){
 $(".weui-tabbar").hide();
})
$('input').on('blur',function(){
 $(".weui-tabbar").show();
})


</script>
</body></html>